package com.lxp.design.shop.common.mapper;

import com.lxp.design.shop.common.model.Product;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ProductMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Product record);

    int insertSelective(Product record);

    Product selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Product record);

    int updateByPrimaryKey(Product record);

    int updateBatchSelective(List<Product> list);

    int batchInsert(@Param("list") List<Product> list);
}